Part Number Hot Search : 
FDV302 IMP37 UCC39161 MA5J002E RN2414 143EC GPTK2126 74F82300
Product Description
Full Text Search
 

To Download L3G3200D Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  preliminary data this is preliminary information on a new product now in deve lopment or undergoing evaluation. details are subject to change without notice. december 2011 doc id 022557 rev 1 1/45 45 L3G3200D mems motion sensor: three-axis digital output gyroscope features wide supply voltage, 2.4 v to 3.6 v wide extended operating temperature (-40 c to 85 c) low voltage compatible ios, 1.8 v low power consumption embedded power-down sleep mode three selectable fullscale 16-bit rate value data output 8-bit temperature data output i 2 c/spi digital output interface two dedicated lines (1 interrupt, 1 data ready) user selectable bandwid th integrated low-pass filters user enable integrated high-pass filters embedded self-test embedded temperature sensor embedded fifo high shock survivability ecopack ? rohs and ?green? compliant applications gaming and virtual reality input devices motion control with mmi (man-machine interface) gps navigation systems appliances and robotics description the L3G3200D is a low-power three-axis angular rate sensor. it includes a sensing element and an ic interface able to provide the measured angular rate to the external world through a digital interface (i 2 c/spi). the sensing element is manufactured using a dedicated micromachining process developed by st to produce inertial sensors and actuators on silicon wafers. the ic interface is manufactured using a cmos process that allows a high level of integration to design a dedicated circuit which is trimmed to better match the sensing element characteristics. the L3G3200D has a full scale of 250/500/ 2000 dps and is capable of measuring rates with a user selectable bandwidth. the L3G3200D is available in a plastic land grid array (lga) package and can operate within a temperature range of -40 c to +85 c. lga-16 (3x3.5x1 mm) table 1. device summary order code temperature range (c) package packing L3G3200D -40 to +85 lga-16 (3x3.5x1.0) tray L3G3200Dtr -40 to +85 lga-16 (3x3.5x1.0) tape and reel www.st.com
contents L3G3200D 2/45 doc id 022557 rev 1 contents 1 block diagram and pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.1 pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 mechanical and electrical specifications . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.3 temperature sensor characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.4 communication interface characteristics . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4.1 spi - serial peripheral interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.4.2 i2c - inter ic control interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2.5 absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2.6 terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.6.1 sensitivity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.6.2 zero-rate level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 2.7 soldering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3 application hints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4 digital main blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.2 fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 4.2.1 bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2.2 fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 4.2.3 stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4.2.4 bypass-to-stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2.5 stream-to-fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2.6 retrieve data from fifo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 5 digital interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.1 i2c serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5.1.1 i2c operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5.2 spi bus interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2.1 spi read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
L3G3200D contents doc id 022557 rev 1 3/45 5.2.2 spi write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 5.2.3 spi read in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6 output register mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 7 register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.1 who_am_i (0fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.2 ctrl_reg1 (20h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 7.3 ctrl_reg2 (21h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.4 ctrl_reg3 (22h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 7.5 ctrl_reg4 (23h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.6 ctrl_reg5 (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 7.7 reference/datacapture (25h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.8 out_temp (26h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.9 status_reg (27h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 7.10 out_x_l (28h), out_x_h (29h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.11 out_y_l (2ah), out_y_h (2bh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.12 out_z_l (2ch), out_z_h (2dh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.13 fifo_ctrl_reg (2eh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 7.14 fifo_src_reg (2fh) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 7.15 int1_cfg (30h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 7.16 int1_src (31h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7.17 int1_ths_xh (32h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7.18 int1_ths_xl (33h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.19 int1_ths_yh (34h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.20 int1_ths_yl (35h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.21 int1_ths_zh (36h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.22 int1_ths_zl (37h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7.23 int1_duration (38h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 8 package information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 9 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
list of tables L3G3200D 4/45 doc id 022557 rev 1 list of tables table 3. mechanical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 4. electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 table 5. electrical characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 table 6. spi slave timing values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 table 7. i2c slave timing values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 table 8. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 table 9. serial interface pin description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 10. i2c terminology. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 table 11. sad+read/write patterns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 12. transfer when master is writing one byte to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 13. transfer when master is writing multiple bytes to slave . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 table 14. transfer when master is receiving (reading) one byte of data from slave . . . . . . . . . . . . . 22 table 15. transfer when master is receiving (reading) multiple bytes of data from slave . . . . . . . . . 22 table 16. register address map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 table 17. who_am_i register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 18. ctrl_reg1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 19. ctrl_reg1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 table 20. dr and bw configuration setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 21. power mode selection configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 22. ctrl_reg2 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 23. ctrl_reg2 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 24. high-pass filter mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 25. high-pass filter cut-off frequency configuration [hz] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 26. ctrl_reg1 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 27. ctrl_reg3 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 28. ctrl_reg4 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 29. ctrl_reg4 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 30. ctrl_reg5 register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 31. ctrl_reg5 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 table 32. out_sel configuration setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 33. int_sel configuration setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 table 34. reference register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 35. reference register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 table 36. out_temp register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 37. out_temp register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 38. status_reg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 39. status_reg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 40. reference register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 41. reference register description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 5 table 42. fifo mode configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 table 43. fifo_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 44. fifo_src register description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 45. int1_cfg register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 46. int1_cfg description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 47. int1_src register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 48. int1_src description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 49. int1_ths_xh register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 50. int1_ths_xh description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
L3G3200D list of tables doc id 022557 rev 1 5/45 table 51. int1_ths_xl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 52. int1_ths_xl description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 53. int1_ths_yh register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 54. int1_ths_yh description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 55. int1_ths_yl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 56. int1_ths_yl description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 57. int1_ths_zh register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 58. int1_ths_zh description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 table 59. int1_ths_zl register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 60. int1_ths_zl description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 61. int1_duration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 62. int1_duration description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 table 63. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
list of figures L3G3200D 6/45 doc id 022557 rev 1 list of figures figure 1. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 2. pin connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 3. spi slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 4. i2c slave timing diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 5. L3G3200D electrical connections and external component values . . . . . . . . . . . . . . . . . . 13 figure 6. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 7. bypass mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 8. fifo mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 figure 9. stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 figure 10. bypass-to-stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 11. trigger stream mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 figure 12. read and write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 figure 13. spi read protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 14. multiple bytes spi read protocol (2-byte example) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 figure 15. spi write protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 16. multiple bytes spi write protocol (2-byte example). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 17. spi read protocol in 3-wire mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 18. int1_sel and out_sel configuration block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 19. wait disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 20. wait enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 figure 21. lga-16: mechanical data and package dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
L3G3200D block diagram and pin description doc id 022557 rev 1 7/45 1 block diagram and pin description figure 1. block diagram the vibration of the structure is maintained by a drive circuitry in a feedback loop. the sensing signal is filtered and appears as a digital signal at the output. 1.1 pin description figure 2. pin connection fifo trimming circuits reference mixer charge amp clock low-pass filter + x,y,z i2c spi cs scl/spc sda/sdo/sdi sdo y+ z+ y- z- x+ x- driving mass feedback loop m u x a d d c i g i t a l f i l t e r i n g control logic & interrupt gen. int1 drdy/int2 a d c t e m p e r a t u r e s e n s o r 1 2 & phase generator am10190v1 (top view) direction s of the detectable angula rate s x vdd_io s cl/ s pc s da/ s di/ s do s do/ s a0 re s re s re s re s int1 drdy/int2 re s re s vdd re s 8 16 6 14 + z + x bottom view + y 9 1 3 5 1 c s gnd am10220v1
block diagram and pin description L3G3200D 8/45 doc id 022557 rev 1 table 2. pin description pin# name function 1 vdd_io (1) 1. recommended 100 nf filter capacitor. power supply for i/o pins 2 scl spc i 2 c serial clock (scl) spi serial port clock (spc) 3 sda sdi sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) 4 sdo sa0 spi serial data output (sdo) i 2 c less significant bit of the device address (sa0) 5cs i 2 c/spi mode selection (1: spi idle mode / i 2 c communication enabled; 0: spi communication mode / i 2 c disabled) 6 drdy/int2 data ready/fifo inte rrupt (watermark/overrun/empty) 7 int1 programmable interrupt 8 reserved connect to gnd 9 reserved connect to gnd 10 reserved connect to gnd 11 reserved connect to gnd 12 reserved connect to gnd 13 gnd 0 v supply 14 reserved connect to gnd with ceramic capacitor (2) 2. 10 nf (+/-10%), 25 v. 1 nf minimum val ue has to be guaranteed under 11 v bias condition. 15 reserved connect to vdd 16 vdd (3) 3. recommended 100 nf plus 10 f capacitors. power supply
L3G3200D mechanical and electrical specifications doc id 022557 rev 1 9/45 2 mechanical and electrical specifications 2.1 mechanical characteristics @ vdd = 3.0 v, t = 25 c unless otherwise noted (a) . a. the product is factory calibrated at 3.0 v. t he operational power supply range is specified in table 4 . table 3. mechanical characteristics symbol parameter test condition min. typ. (1) max. unit fs measurement range user selectable 250 dps 500 2000 so sensitivity fs = 250 dps 8.75 mdps/digit fs = 500 dps 17.50 fs = 2000 dps 70 sodr sensitivity change vs. temperature from -40 c to +85 c 2 % dvoff digital zero-rate level fs = 250 dps 10 dps fs = 500 dps 15 fs = 2000 dps 20 offdr zero-rate level change vs temperature 0.04 dps/c nl non linearity (2) best fit straight line 0.2 % fs rn rate noise density (2) 0.03 odr digital output data rate 95/190/ 380/760 hz top operating temperature range -40 +85 c 1. typical specificat ions are not guaranteed. 2. guaranteed by design. dps hz ( ?
mechanical and electrical specifications L3G3200D 10/45 doc id 022557 rev 1 2.2 electrical characteristics @ vdd = 3.0 v, t = 25 c unless otherwise noted (b) . 2.3 temperature sensor characteristics @ vdd = 3.0 v, t = 25 c unless otherwise noted (b) . b. the product is factory calibrated at 3.0 v. table 4. electrical characteristics symbol parameter test condition min. typ. (1) max. unit vdd supply voltage 2.4 3.0 3.6 v vdd_io i/o pins supply voltage (2) 1.71 vdd+0.1 v idd supply current 6.1 ma iddsl supply current in sleep mode (3) selectable by digital interface 2ma iddpdn supply current in power- down mode selectable by digital interface 5 a vih digital high level input voltage 0.8*vdd_i o v vil digital low level input voltage 0.2*vdd_i o v to p operating temperature range -40 +85 c 1. typical specificat ions are not guaranteed. 2. it is possible to remove vdd maintaining vdd_io withou t blocking the communication busse s, in this condition the measurement chain is powered off. 3. sleep mode introduce a faster turn-on time related to power down mode. table 5. electrical characteristics symbol parameter test condition min. typ. (1) max. unit tsdr temperature sensor output change vs. temperature - -1 c/digit todr temperature refresh rate 1 hz to p operating temperature range -40 +85 c 1. typical specificat ions are not guaranteed.
L3G3200D mechanical and electrical specifications doc id 022557 rev 1 11/45 2.4 communication interface characteristics 2.4.1 spi - serial peripheral interface subject to general operating conditions for vdd and top. figure 3. spi slave timing diagram (c) table 6. spi slave timing values symbol parameter value (1) unit min. max. tc(spc) spi clock cycle 100 ns fc(spc) spi clock frequency 10 mhz tsu(cs) cs setup time 5 ns th(cs) cs hold time 20 tsu(si) sdi input setup time 5 th(si) sdi input hold time 15 tv(so) sdo valid output time 50 th(so) sdo output hold time 5 tdis(so) sdo output disable time 50 1. values are guaranteed at 10 mhz clock fr equency for spi with both 4 and 3 wires, based on characterization results, not tested in production. c. measurement points are done at 0.2vdd_io and 0.8vdd_io, for both input and output ports. spc cs sdi sdo t su(cs) t v(so) t h(so) t h(si) t su(si) t h(cs) t dis(so) t c(spc) msb in msb out lsb out lsb in (3) (3) (3) (3) (3) (3) (3) (3)
mechanical and electrical specifications L3G3200D 12/45 doc id 022557 rev 1 2.4.2 i 2 c - inter ic control interface subject to general operating conditions for vdd and top. figure 4. i 2 c slave timing diagram (d) table 7. i 2 c slave timing values symbol parameter i 2 c standard mode (1) i 2 c fast mode (1) unit min. max. min. max. f (scl) scl clock frequency 100 400 khz t w(scll) scl clock low time 4.7 1.3 s t w(sclh) scl clock high time 4.0 0.6 t su(sda) sda setup time 250 100 ns t h(sda) sda data hold time 0 3.45 0.01 0.9 s t r(sda) t r(scl) sda and scl rise time 1000 20 + 0.1c b (2) 300 ns t f(sda) t f(scl) sda and scl fall time 300 20 + 0.1c b ( 2) 300 t h(st) start condition hold time 4 0.6 s t su(sr) repeated start condition setup time 4.7 0.6 t su(sp) stop condition setup time 4 0.6 t w(sp:sr) bus free time between stop and start condition 4.7 1.3 1. data based on standard i 2 c protocol requirement, not tested in production. 2. cb = total capacitance of one bus line, in pf. d. measurement points are done at 0.2vdd_io and 0.8vdd_io, for both ports. sda scl t f(sda) t su(sp) t w(scll) t su(sda) t r(sda) t su(sr) t h(st) t w(sclh) t h(sda) t r(scl) t f(scl) t w(sp:sr) start repeated start stop start
L3G3200D mechanical and electrical specifications doc id 022557 rev 1 13/45 2.5 absolute maximum ratings stresses above those listed as ?absolute ma ximum ratings? may cause permanent damage to the device. this is a stress rating only and functional operation of the device under these conditions is not implied. exposure to maximum rating conditions for extended periods may affect device reliability. note: supply voltage on any pin should never exceed 4.8 v table 8. absolute maximum ratings symbol ratings maximum value unit vdd supply voltage -0.3 to 4.8 v vdd_io i/o pins supply voltage -0.3 to 4.8 v vin input voltage on any control pin (scl, sda, den, cs) -0.3 to vdd_io +0.3 v t stg storage temperature range -40 to +125 c sg acceleration g for 0.1 ms 10,000 g esd electrostatic discharge protection 2 (hbm) kv this is a mechanical shock sensitive device, improper handling can cause permanent damage to the part this is an esd sensitive device, improper handling can cause permanent damage to the part
mechanical and electrical specifications L3G3200D 14/45 doc id 022557 rev 1 2.6 terminology 2.6.1 sensitivity an angular rate gyroscope is device that produces a positive-going digital output for counterclockwise rotation around the sensible axis considered. sensitivity describes the gain of the sensor and can be determined by applying a defined angular velocity to it. this value changes very little over temperature and time. 2.6.2 zero-rate level zero-rate level describes the actual output signal if there is no angular rate present. zero- rate level of precise mems sensors is, to some extent, a result of stress to the sensor and therefore zero-rate level can slightly change after mounting the sensor onto a printed circuit board or after exposing it to extensive mechanical stress. this value changes very little over temperature and time. 2.7 soldering information the lga package is compliant with the ecopack ? , rohs and ?green? standard. it is qualified for soldering heat resist ance according to jedec j-std-020. leave ?pin 1 indicator? unconnected during soldering. land pattern and soldering recommendations are available at www.st.com/mems .
L3G3200D application hints doc id 022557 rev 1 15/45 3 application hints figure 5. L3G3200D electrical connections and external component values power supply decoupling capacitors (100 nf + 10 f) should be placed as near as possible to the device (common design practice). if vdd and vdd_io are not connected together, 100 nf and 10 f decoupling capacitors must be placed between vdd and common ground while 100 nf between vdd_io and common ground. capacitors should be placed as near as possible to the device (common design practice). 100 nf vdd gnd c1 gnd 10 f s cl/ s pc drdy/int2 int1 s do/ s a0 s da_ s di_ s do 10nf(25v) * vdd_io vdd gnd (top view) direction s of the detectable angula rate s vdd i2c bus rp u = 10kohm rp u s cl/ s pc s da_ s di_ s do p u ll- u p to b e a dded when i2c interf a ce i s us ed gnd * c1 m us t g ua r a ntee 1nf minim u m v a l u e u nder 11v b i as condition 1 x + z + x + y 6 14 8 16 top view 5 1 9 1 3 c s am10221v1
digital main blocks L3G3200D 16/45 doc id 022557 rev 1 4 digital main blocks 4.1 block diagram figure 6. block diagram 4.2 fifo L3G3200D embeds a 32-slot of a 16-bit data fifo for each of the three output channels, yaw, pitch, and roll. this allows a consistent power saving for the system, since the host processor does not need to continuously poll data from the sensor, but it can wake up only when needed and burst the significant data out from the fifo. this buffer can work according to five different modes: bypass mode, fifo mode, stream mode, bypass-to- stream mode, and stream-to-fifo mode. each mode is selected by the fifo_mode bits in fifo_ctrl_reg (2eh). programmable watermark level, fifo_empty or fifo_full events can be enabled to generate dedicated interrupts on drdy/int2 pin (configuration through ctrl_reg3 (22h) and event detection information are available in fifo_src_reg (2fh). watermark level can be configured to wtm4:0 in fifo_ctrl_reg (2eh). adc lpf1 hpf 0 1 hpen lpf2 10 11 01 00 o u t_ s el d a t a reg 00 11 10 01 interr u pt gener a tor int_ s el i 2 c s pi int1 s cr reg conf reg fifo 3 2x16x 3 am072 3 0v1
L3G3200D digital main blocks doc id 022557 rev 1 17/45 4.2.1 bypass mode in bypass mode, the fifo is not operational and for this reason it remains empty. as described in figure 7 , for each channel only the first address is used. the remaining fifo slots are empty. when a new data is available the old one is overwritten. figure 7. bypass mode 4.2.2 fifo mode in fifo mode, data from yaw, pitch and roll channels are stored in the fifo. a watermark interrupt can be enabled (i2_wmk bit into ctrl_reg3 (22h)) in order to be raised when the fifo is filled to the leve l specified in the wtm 4:0 bits of fifo_ctrl_reg (2eh). the fifo continues filling until it is full (32 slots of 16-bit data for yaw, pitch and roll). when full, the fifo stops collecting data from the input channels. to restart collecting data it is necessary to write fifo_ctrl_reg (2eh) back to bypass mode. fifo mode is represented in figure 8 . l x 0 y i z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i empty am072 3 1v1
digital main blocks L3G3200D 18/45 doc id 022557 rev 1 figure 8. fifo mode 4.2.3 stream mode in stream mode, data from yaw, pitch and roll measurements are stored in the fifo. a watermark interrupt can be enabled and set as in fifo mode. the fifo continues filling until it is full (32 slots of 16-bit data for yaw, pitch and roll). when full, the fifo discards the older data as the new arrive. programmable watermark level events can be enabled to generate dedicated interrupts on the drdy/int2 pin (configuration through ctrl_reg3 (22h). stream mode is represented in figure 9 . x 0 y i z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i am072 3 2v1
L3G3200D digital main blocks doc id 022557 rev 1 19/45 figure 9. stream mode x 0 y 0 z 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i x 3 0 y 3 0 z 3 0 am072 3 4v1
digital main blocks L3G3200D 20/45 doc id 022557 rev 1 4.2.4 bypass-to-stream mode in bypass-to-stream mode, the fifo starts operating in bypass mode and once a trigger event occurs (related to int1_cfg (30h) register events), the fifo starts operating in stream mode. figure 10. bypass-to-stream mode 4.2.5 stream-to-fifo mode in stream-to-fifo mode, data from yaw, pitch and roll measurements are stored in the fifo. a watermark interrupt can be enabled on pin drdy/int2 setting the i2_wtm bit in ctrl_reg3 (22h) in order to be raised when the fifo is filled to the level specified in the wtm4:0 bits of fifo_ctrl_reg (2 eh). the fifo continues filling until it is full (32 slots of 16-bit data for yaw, pitch and roll). when full, the fifo discards the older data as the new arrive. once trigger event occurs (related to int1_cfg (30h) register events), the fifo starts operating in fifo mode. figure 11. trigger stream mode x 0 y i z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i empty byp ass mode s tre a m mode trigger event x 0 y 0 z 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i x 3 0 y 3 0 z 3 0 am072 3 5v1 x 0 y i z 0 y 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i s tre a m mode fifo mode trigger event x 0 y 0 z 0 x 1 y 1 z 1 x 2 y 2 z 2 x 3 1 y 3 1 z 3 1 x i ,y i ,z i x 3 0 y 3 0 z 3 0 am072 3 6v1
L3G3200D digital main blocks doc id 022557 rev 1 21/45 4.2.6 retrieve data from fifo fifo data is read through out_x (addr reg 28h,29h), out_y (addr reg 2ah,2bh) and out_z (addr reg 2ch,2dh). when the fifo is in stream, trigger, or fifo mode, a read operation to the out_x, out_y or out_z registers provides the data stored in the fifo. each time data is read from the fifo, the oldest pitch, roll and yaw data are placed into the out_x, out_y and out_z registers and both single read and read_burst (x,y & z with auto-incremental address) operations can be used. when data included in out_z_h (2dh) is read, the system restarts to read information from addr out_x_l (28h).
digital interfaces L3G3200D 22/45 doc id 022557 rev 1 5 digital interfaces the registers embedded inside the L3G3200D may be accessed through both the i 2 c and spi serial interfaces. the latter may be sw configured to operate either in 3-wire or 4-wire interface mode. the serial interfaces are mapped onto the same pins. to select/exploit the i 2 c interface, cs line must be tied high (i.e connected to vdd_io). 5.1 i 2 c serial interface the L3G3200D i 2 c is a bus slave. the i 2 c is employed to write data into registers whose content can also be read back. the relevant i 2 c terminology is given in the table below. there are two signals associated with the i 2 c bus: the serial clock line (scl) and the serial data line (sda). the latter is a bidirectional line used for sending and receiving the data to/from the interface. both lines must be connected to vdd_io through an external pull-up resistor. when the bus is free, both the lines are high. the i 2 c interface is compliant wit h fast mode (400 khz) i 2 c standards as well as with the normal mode. table 9. serial interface pin description pin name pin description cs spi enable i 2 c/spi mode selection (1: i 2 c mode; 0: spi enabled) scl/spc i 2 c serial clock (scl) spi serial port clock (spc) sda/sdi/sdo i 2 c serial data (sda) spi serial data input (sdi) 3-wire interface serial data output (sdo) sdo spi serial data output (sdo) i 2 c less significant bit of the device address table 10. i 2 c terminology term description transmitter the device which sends data to the bus receiver the device which receives data from the bus master the device which initiates a transfer, generates clock signals and terminates a transfer slave the device addressed by the master
L3G3200D digital interfaces doc id 022557 rev 1 23/45 5.1.1 i 2 c operation the transaction on the bus is started through a start (st) signal. a start condition is defined as a high to low transition on the data line while the scl line is held high. after this has been transmitted by the master, the bus is considered busy. the next byte of data transmitted after the start condition contains the address of the slave in the first 7 bits and the eighth bit tells whether the master is receiving data from the slave or transmitting data to the slave. when an address is sent, each device in the system compares the first seven bits after a start condition with its address. if they match, the device considers itself addressed by the master. the slave address (sad) associated to the L3G3200D is 110101xb. the sdo pin can be used to modify the less significant bit of the device address. if the sdo pin is connected to the voltage supply, lsb is ?1? (address 1101011b), or, if the sdo pin is connected to ground, the lsb value is ?0? (address 1101010b). this solution permits to connect and address two different gyroscopes to the same i 2 c bus. data transfer with acknowledge is mandatory. the transmitter must release the sda line during the acknowledge pulse. the receiver must then pull the data line low so that it remains stable low during the high period of the acknowledge clock pulse. a receiver which has been addressed is obliged to generate an acknowledge after each byte of data received. the i 2 c embedded inside the L3G3200D behaves as a slave device and the following protocol must be adhered to. after the start condition (st) a slave address is sent, once a slave acknowledge (sak) has been returned, an 8-bit sub-address is tr ansmitted: the 7 lsb represent the actual register address while the msb enables address auto increment. if the msb of the sub field is 1, the sub (register address) is automatically incremented to allow multiple data read/write. the slave address is completed with a read/write bit. if the bit is ?1? (read), a repeated start (sr) condition must be issued after the two sub-address bytes; if the bit is ?0? (write) the master transmits to the slave with direction unchanged. ta bl e 1 1 explains how the sad+read/write bit pattern is composed, listing all the possible configurations. table 11. sad+read/write patterns command sad[6:1] sad[0] = sdo r/w sad+r/w read 110101 0 1 11010101 (d5h) write 110101 0 0 11010100 (d4h) read 110101 1 1 11010111 (d7h) write 110101 1 0 11010110 (d6h) table 12. transfer when master is writing one byte to slave master st sad + w sub data sp slave sak sak sak
digital interfaces L3G3200D 24/45 doc id 022557 rev 1 data are transmitted in byte format (data). each data transfer contains 8 bits. the number of bytes transferred per transfer is unlimited. data is transferred with the most significant bit (msb) first. if a receiver can?t receive another complete byte of data until it has performed some other function, it can hold the clock line scl low to force the transmitter into a wait state. data transfer only continues when the receiver is ready for another byte and releases the data line. if a slave receiver doesn?t acknowledge the slave address (i.e. it is not able to receive because it is performing some real time function) the data line must be left high by the slave. the master can then abort the transfer. a low to high transition on the sda line while the scl line is high is defined as a stop condition. each data transfer must be terminated by the generation of a stop (sp) condition. in order to read multiple bytes, it is necessary to assert the most significant bit of the sub- address field. in other words, sub(7) must be equal to 1 while sub(6-0) represents the address of the first register to be read. in the presented communication format mak is master acknowledge and nmak is no master acknowledge. 5.2 spi bus interface the spi is a bus slave. the spi allows to write and read the registers of the device. the serial interface interacts with the outside world with 4 wires: cs, spc, sdi and sdo. table 13. transfer when master is writing multiple bytes to slave master st sad + w sub data data sp slave sak sak sak sak table 14. transfer when master is receiving (reading) one byte of data from slave master st sad + w sub sr sad + r nmak sp slave sak sak sak data table 15. transfer when master is receiving (reading) multiple bytes of data from slave master st sad+w sub sr sad+r mak mak nmak sp slave sak sak sak data data data
L3G3200D digital interfaces doc id 022557 rev 1 25/45 figure 12. read and write protocol cs is the serial port enable and it is controlled by the spi master. it goes low at the start of the transmission and goes back high at the end. spc is the serial port clock and it is controlled by the spi master. it is stopped high when cs is high (no transmission). sdi and sdo are respectively the serial port data input and output. those lines are driven at the falling edge of spc and s hould be captured at the rising edge of spc. both the read register and write register commands are completed in 16 clock pulses or in multiples of 8 in the case of multiple bytes read/write. bit duration is the time between two falling edges of spc. the first bit (bit 0) starts at the first falling edge of spc after the falling edge of cs while the last bit (bit 15, bit 23, ...) starts at the last falling edge of spc just before the rising edge of cs. bit 0 : rw bit. when 0, the data di(7:0) is written to the device. when 1, the data do(7:0) from the device is read. in the latter case, the chip drives the sdo at the start of bit 8. bit 1 : ms bit. when 0, the address remains unchanged in multiple read/write commands. when 1, the address is auto incremented in multiple read/write commands. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (write mode). this is the data that is written to the device (msb first). bit 8-15 : data do(7:0) (read mode). this is the data that is read from the device (msb first). in multiple read/write commands further blocks of 8 clock periods are added. when ms bit is 0, the address used to read/write data remains the same for every block. when ms bit is 1, the address used to read/write data is incremented at every block. the function and the behavior of sdi and sdo remain unchanged. c s s pc s di s do rw ad5 ad4 ad 3 ad2 ad1 ad0 di7 di6 di5 di4 di 3 di2 di1 di0 do7 do6 do5 do4 do 3 do2 do1 do0 m s am10129v1
digital interfaces L3G3200D 26/45 doc id 022557 rev 1 5.2.1 spi read figure 13. spi read protocol the spi read command is performed with 16 clock pulses. multiple byte read command is performed adding blocks of 8 clock pulses at the previous one. bit 0 : read bit. the value is 1. bit 1 : ms bit. when 0, do not increment address, when 1, increment address in multiple reading. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the data that is read from the device (msb first). bit 16-... : data do(...-8). further da ta in multiple byte reading. figure 14. multiple bytes spi read protocol (2-byte example) c s s pc s di s do rw do7 do6 do5 do4 do 3 do2 do1 do0 ad5 ad4 ad 3 ad2 ad1 ad0 m s am101 3 0v1 c s s pc s di s do rw do 7 do 6 do 5 do 4 do 3 do 2 do 1 do 0 ad5 ad4 ad 3 ad2 ad1 ad0 do 15 do 14 do 1 3 do 12 do 11 do 10 d o9 d o 8 m s am101 3 1v1
L3G3200D digital interfaces doc id 022557 rev 1 27/45 5.2.2 spi write figure 15. spi write protocol the spi write command is performed with 16 cloc k pulses. multiple by te write command is performed adding blocks of 8 clock pulses at the previous one. bit 0 : write bit. the value is 0. bit 1 : ms bit. when 0, do not increment address, when 1, increment address in multiple writing. bit 2 -7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data di(7:0) (write mode). this is the data that is written inside the device (msb first). bit 16-... : data di(...-8). further data in multiple byte writing. figure 16. multiple bytes spi write protocol (2-byte example) 5.2.3 spi read in 3-wire mode 3-wire mode is entered by setting bit sim (spi serial interface mode selection) to 1 in ctrl_reg4 (23h) . c s s pc s di rw di7 di6 di5 di4 di 3 di 2 di 1 di 0 ad5 ad 4 ad 3 ad2 ad 1 ad0 m s am101 3 2v1 c s s pc s di rw ad5 ad4 ad 3 ad2 ad1 ad 0 di 7 d i6 di 5 d i4 di 3 di 2 di 1 di 0 di 15 d i1 4 di 1 3 di12 di 11 di 10 di 9 di 8 m s am101 33 v1
digital interfaces L3G3200D 28/45 doc id 022557 rev 1 figure 17. spi read protocol in 3-wire mode the spi read command is performed with 16 clock pulses: bit 0 : read bit. the value is 1. bit 1 : ms bit. when 0, do not increment address, when 1, increment address in multiple reading. bit 2-7 : address ad(5:0). this is the address field of the indexed register. bit 8-15 : data do(7:0) (read mode). this is the data that is read from the device (msb first). multiple read command is also available in 3-wire mode. c s s pc s di/o rw do7 do6 do5 do4 do 3 do 2 do 1 do 0 ad5 ad 4 ad 3 ad2 ad1 ad 0 m s am101 3 4v1
L3G3200D output register mapping doc id 022557 rev 1 29/45 6 output register mapping ta bl e 1 6 provides a listing of the 8-bit registers embedded in the device and the related addresses: table 16. register address map name type register address default hex binary reserved -- 00-0e -- -- who_am_i r 0f 000 1111 11010100 reserved -- 10-1f -- -- ctrl_reg1 rw 20 010 0000 00000111 ctrl_reg2 rw 21 010 0001 00000000 ctrl_reg3 rw 22 010 0010 00000000 ctrl_reg4 rw 23 010 0011 00000000 ctrl_reg5 rw 24 010 0100 00000000 reference rw 25 010 0101 00000000 out_temp r 26 010 0110 output status_reg r 27 010 0111 output out_x_l r 28 010 1000 output out_x_h r 29 010 1001 output out_y_l r 2a 010 1010 output out_y_h r 2b 010 1011 output out_z_l r 2c 010 1100 output out_z_h r 2d 010 1101 output fifo_ctrl_reg rw 2e 010 1110 00000000 fifo_src_reg r 2f 010 1111 output int1_cfg rw 30 011 0000 00000000 int1_src r 31 011 0001 output int1_tsh_xh rw 32 011 0010 00000000 int1_tsh_xl rw 33 011 0011 00000000 int1_tsh_yh rw 34 011 0100 00000000 int1_tsh_yl rw 35 011 0101 00000000 int1_tsh_zh rw 36 011 0110 00000000 int1_tsh_zl rw 37 011 0111 00000000 int1_duration rw 38 011 1000 00000000
output register mapping L3G3200D 30/45 doc id 022557 rev 1 registers marked as reserved must not be changed. the writing to those registers may cause permanent damage to the device. the content of the registers that are loaded at boot should not be changed. they contain the factory calibration values. their content is automatically restored when the device is powered up.
L3G3200D register description doc id 022557 rev 1 31/45 7 register description the device contains a set of registers which are used to control its behavior and to retrieve angular data rate. the registers? address, made up of 7 bits, is used to identify them and to write the data through the serial interface. 7.1 who_am_i (0fh) device identification register. 7.2 ctrl_reg1 (20h) dr<1:0> is used to set odr selection. bw <1:0> is used to set bandwidth selection. in ta b l e 2 0 all frequencies resulting in a combination of dr / bw bits are reported. table 17. who_am_i register 11010100 table 18. ctrl_reg1 register dr1 dr0 bw1 bw0 pd zen xen yen table 19. ctrl_reg1 description dr1-dr0 output data rate selection. refer to ta bl e 2 0 bw1-bw0 bandwidth selection. refer to ta bl e 2 0 pd power-down mode enable. default value: 0 (0: power-down mode, 1: normal mode or sleep mode) zen z axis enable. default value: 1 (0: z axis disabled; 1: z axis enabled) yen y axis enable. default value: 1 (0: y axis disabled; 1: y axis enabled) xen x axis enable. default value: 1 (0: x axis disabled; 1: x axis enabled)
register description L3G3200D 32/45 doc id 022557 rev 1 a combination of pd, zen, yen, xen are used to set the device in different modes (power down / normal / sleep mode) according to ta b l e 2 1 . table 20. dr and bw configuration setting dr <1:0> bw <1:0> odr [hz] cut-off [hz] 00 00 95 12.5 00 01 95 25 00 10 95 25 00 11 95 25 01 00 190 12.5 01 01 190 25 01 10 190 50 01 11 190 70 10 00 380 20 10 01 380 25 10 10 380 50 10 11 380 100 11 00 760 30 11 01 760 35 11 10 760 50 11 11 760 100 table 21. power mode selection configuration mode pd zen yen xen power down0--- sleep1000 normal1---
L3G3200D register description doc id 022557 rev 1 33/45 7.3 ctrl_reg2 (21h) 7.4 ctrl_reg3 (22h) table 22. ctrl_reg2 register 0 (1) 1. these bits must be set to ?0? for proper working of the device. 0 (1) hpm1 hpm1 hpcf3 hpcf2 hpcf1 hpcf0 table 23. ctrl_reg2 description hpm1- hpm0 high-pass filter mode selection. default value: 00. refer to ta b l e 2 4 hpcf3- hpcf0 high-pass filter cut-off frequency selection. refer to ta b l e 2 5 table 24. high-pass filter mode configuration hpm1 hpm0 high-pass filter mode 0 0 normal mode (reset reading hp_reset_filter) 0 1 reference signal for filtering 1 0 normal mode 1 1 autoreset on interrupt event table 25. high-pass filter cut-off frequency configuration [hz] hpcf3-0 odr =95 hz odr =190 hz odr =380 hz odr =760 hz 0000 7.2 13.5 27 51.4 0001 3.5 7.2 13.5 27 0010 1.8 3.5 7.2 13.5 0011 0.9 1.8 3.5 7.2 0100 0.45 0.9 1.8 3.5 01010.180.450.9 1.8 0110 0.09 0.18 0.45 0.9 0111 0.045 0.09 0.18 0.45 1000 0.018 0.045 0.09 0.18 1001 0.009 0.018 0.045 0.09 table 26. ctrl_reg1 register i1_int1 i1_boot h_lactive pp_od i2_drdy i2_wtm i2_orun i2_empty
register description L3G3200D 34/45 doc id 022557 rev 1 7.5 ctrl_reg4 (23h) 7.6 ctrl_reg5 (24h) table 27. ctrl_reg3 description i1_int1 interrupt enable on int1 pin. de fault value 0. (0: disable; 1: enable) i1_boot boot status available on int1. default value 0. (0: disable; 1: enable) h_lactive interrupt active configuration on int1. default value 0. (0: high; 1:low) pp_od push-pull / open drain. default val ue: 0. (0: push-pull; 1: open drain) i2_drdy date ready on drdy/int2. default value 0. (0: disable; 1: enable) i2_wtm fifo watermark interrupt on drdy/int2. de fault value: 0. (0: disable; 1: enable) i2_orun fifo overrun interrupt on drdy/int2 default value: 0. (0: disable; 1: enable) i2_empty fifo empty interrupt on drdy/int2. default value: 0. (0: disable; 1: enable) table 28. ctrl_reg4 register bdu ble fs1 fs0 - 0 (1) 1. this value must not be changed 0 (1) sim table 29. ctrl_reg4 description bdu block data update. default value: 0 (0: continuous update; 1: output regi sters not updated until msb and lsb reading) ble big/little endian data selection. default value 0. (0: data lsb @ lower address; 1: data msb @ lower address) fs1-fs0 full scale select ion. default value: 00 (00: 250 dps; 01: 500 dps; 10: 2000 dps; 11: 2000 dps) sim spi serial interface mode selection. default value: 0 (0: 4-wire interface; 1: 3-wire interface). table 30. ctrl_reg5 register boot fifo_en -- hpen int1_sel1 i nt1_sel0 out_sel1 out_sel0 table 31. ctrl_reg5 description boot reboot memory content. default value: 0 (0: normal mode; 1: reboot memory content) fifo_en fifo enable. default value: 0 (0: fifo disable; 1: fifo enable)
L3G3200D register description doc id 022557 rev 1 35/45 figure 18. int1_sel and out_sel configuration block diagram hpen high-pass filter enable. default value: 0 (0: hpf disabled; 1: hpf enabled, see figure 20 ) int1_sel1- int1_sel0 int1 selection configuration. default value: 0 (see figure 20 ) out_sel1- out_sel1 out selection configuration. default value: 0 (see figure 20 ) table 32. out_sel configuration setting hpen out_sel1 out_sel0 description x00 data in datareg and fifo are non-high- pass-filtered x01 data in datareg and fifo are high-pass- filtered 01x data in datareg and fifo are low-pass- filtered by lpf2 11x data in datareg and fifo are high-pass and low-pass-filtered by lpf2 table 33. int_sel configuration setting hpen int_sel1 int_ sel2 description x00 non-high-pass-filtered data are used for interrupt generation x01 high-pass-filtered data are used for interrupt generation table 31. ctrl_reg5 description (continued) adc lpf1 hpf 0 1 hpen lpf2 10 11 01 00 o u t_ s el <1:0> d a t a reg fifo 3 2x16x 3 00 11 10 01 interr u pt gener a tor int1_ s el <1:0> am07949v2
register description L3G3200D 36/45 doc id 022557 rev 1 7.7 reference/datacapture (25h) 7.8 out_temp (26h) 7.9 status_reg (27h) 01x low-pass-filtered data are used for interrupt generation 11x high-pass and low-pass-filtered data are used for interrupt generation table 33. int_sel configuration setting (continued) hpen int_sel1 int_ sel2 description table 34. reference register ref7 ref6 ref5 ref4 ref3 ref2 ref1 ref0 table 35. reference register description ref 7-ref0 reference value for interrupt generation. default value: 0 table 36. out_temp register temp7 temp6 temp5 temp4 temp3 temp2 temp1 temp0 table 37. out_temp register description temp7-temp0 temperature data. the value is expressed as 2?s complement. table 38. status_reg register zyxor zor yor xor zyxda zda yda xda table 39. status_reg description zyxor x, y, z -axis data overrun. default value: 0 (0: no overrun has occurred; 1: new data has overwritten the previous one before it was read) zor z axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data fo r the z-axis has overwritten the previous one) yor y axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the y-axis has overwritten the previous one)
L3G3200D register description doc id 022557 rev 1 37/45 7.10 out_x_l (28h), out_x_h (29h) x-axis angular rate data. the value is expressed as 2?s complement. 7.11 out_y_l (2ah), out_y_h (2bh) y-axis angular rate data. the value is expressed as 2?s complement. 7.12 out_z_l (2ch), out_z_h (2dh) z-axis angular rate data. the value is expressed as 2?s complement. 7.13 fifo_ctrl_reg (2eh) xor x axis data overrun. default value: 0 (0: no overrun has occurred; 1: a new data for the x-axis has overwritten the previous one) zyxda x, y, z -axis new data available. default value: 0 (0: a new set of data is not yet availabl e; 1: a new set of data is available) zda z axis new data available. default value: 0 (0: a new data for the z-axis is not yet availabl e; 1: a new data for the z-axis is available) yda y axis new data available. default value: 0 (0: a new data for the y-axis is not yet available;1: a new data for the y-axis is available) xda x axis new data available. default value: 0 (0: a new data for the x-axis is not yet availabl e; 1: a new data for the x-axis is available) table 39. status_reg description (continued) table 40. reference register fm2 fm1 fm0 wtm4 wtm3 wtm2 wtm1 wtm0 table 41. reference register description fm2-fm0 fifo mode selection. default value: 00 (see ta b l e 4 2 ) wtm4-wtm0 fifo threshold. watermark level setting table 42. fifo mode configuration fm2 fm1 fm0 fifo mode 000bypass mode 001fifo mode 010stream mode
register description L3G3200D 38/45 doc id 022557 rev 1 7.14 fifo_src_reg (2fh) 7.15 int1_cfg (30h) 011stream-to-fifo mode 100bypass-to-stream mode table 42. fifo mode configuration (continued) fm2 fm1 fm0 fifo mode table 43. fifo_src register wtm ovrn empty fss4 fss3 fss2 fss1 fss0 table 44. fifo_src register description wtm watermark status. (0: fifo filling is lower than wtm level; 1: fifo filling is equal or higher than wtm level) ovrn overrun bit status. (0: fifo is not completely fille d; 1:fifo is completely filled) empty fifo empty bit. (0: fifo not empty; 1: fifo empty) fss4-fss1 fifo stored data level table 45. int1_cfg register and/or lir zhie zlie yhie ylie xhie xlie table 46. int1_cfg description and/or and/or combination of interrupt events. default value: 0 (0: or combination of interrupt events 1: and combination of interrupt events lir latch interrupt request. default value: 0 (0: interrupt request not latched ; 1: interrupt request latched) cleared by reading int1_src reg. zhie enable interrupt generation on z high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) zlie enable interrupt generation on z low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) yhie enable interrupt generation on y high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold)
L3G3200D register description doc id 022557 rev 1 39/45 configuration register for interrupt source. 7.16 int1_src (31h) interrupt source register. read only register. reading at this address clears the int1_src ia bit (and eventually the interrupt signal on the int1 pin) and allows to refresh data in the int1_src register if the latched option was chosen. 7.17 int1_ths_xh (32h) ylie enable interrupt generation on y low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) xhie enable interrupt generation on x high event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value higher than preset threshold) xlie enable interrupt generation on x low event. default value: 0 (0: disable interrupt request; 1: enable interrupt request on measured accel. value lower than preset threshold) table 46. int1_cfg description table 47. int1_src register 0 ia zhzlyhylxhxl table 48. int1_src description ia interrupt active. default value: 0 (0: no interrupt has been generated; 1: one or more interrupts have been generated) zh z high. default value: 0 (0: no interrupt, 1: z high event has occurred) zl z low. default value: 0 (0: no in terrupt; 1: z low event has occurred) yh y high. default value: 0 (0: no interrupt, 1: y high event has occurred) yl y low. default value: 0 (0: no interrupt, 1: y low event has occurred) xh x high. default value: 0 (0: no interrupt, 1: x high event has occurred) xl x low. default value: 0 (0: no interrupt, 1: x low event has occurred) table 49. int1_ths_xh register - thsx14 thsx13 thsx12 thsx11 thsx10 thsx9 thsx8
register description L3G3200D 40/45 doc id 022557 rev 1 7.18 int1_ths_xl (33h) 7.19 int1_ths_yh (34h) 7.20 int1_ths_yl (35h) 7.21 int1_ths_zh (36h) table 50. int1_ths_xh description thsx14 - thsx9 interrupt threshold. default value: 0000 0000 table 51. int1_ths_xl register thsx7 thsx6 thsx5 thsx4 thsx3 thsx2 thsx1 thsx0 table 52. int1_ths_xl description thsx7 - thsx0 interrupt threshold. default value: 0000 0000 table 53. int1_ths_yh register - thsy14 thsy13 thsy12 thsy11 thsy10 thsy9 thsy8 table 54. int1_ths_yh description thsy14 - thsy9 interrupt threshold. default value: 0000 0000 table 55. int1_ths_yl register thsr7 thsy6 thsy5 thsy4 thsy3 thsy2 thsy1 thsy0 table 56. int1_ths_yl description thsy7 - thsy0 interrupt threshold. default value: 0000 0000 table 57. int1_ths_zh register - thsz14 thsz13 thsz12 thsz11 thsz10 thsz9 thsz8 table 58. int1_ths_zh description thsz14 - thsz9 interrupt threshold. default value: 0000 0000
L3G3200D register description doc id 022557 rev 1 41/45 7.22 int1_ths_zl (37h) 7.23 int1_duration (38h) d6 - d0 bits set the minimum duration of the interrupt event to be recognized. duration steps and maximum values depend on the odr chosen. the wait bit has the following meaning: wait =?0?: the interrupt falls immediately if signal crosses the selected threshold wait =?1?: if signal crosses the selected threshold, the interrupt falls only after the duration has counted the number of samples at the selected data rate, written into the duration counter register. table 59. int1_ths_zl register thsz7 thsz6 thsz5 thsz4 thsz3 thsz2 thsz1 thsz0 table 60. int1_ths_zl description thsz7 - thsz0 interrupt threshold. default value: 0000 0000 table 61. int1_duration register wait d6 d5 d4 d3 d2 d1 d0 table 62. int1_duration description wait wait enable. default value: 0 (0: disable; 1: enable) d6 - d0 duration value. default value: 000 0000
register description L3G3200D 42/45 doc id 022557 rev 1 figure 19. wait disabled figure 20. wait enabled
L3G3200D package information doc id 022557 rev 1 43/45 8 package information in order to meet environmental requirements, st offers these devices in different grades of ecopack ? packages, depending on their level of environmental compliance. ecopack specifications, grade definitions and product status are available at: www.st.com. ecopack is an st trademark. figure 21. lga-16: mechanical data and package dimensions dimen s ion s ref. mm min. typ. max. a1 1.000 1.027 a2 0. 8 00 a 3 0.200 d1 2. 8 50 3 .000 3 .150 e1 3 . 3 50 3 .500 3 .650 l1 1.000 1.060 l2 2.000 2.060 n1 0.500 n2 1.000 m 0.040 0.100 0.160 p1 0. 8 75 p2 1.275 t1 0.2 9 00. 3 50 0.410 t2 0.1 9 0 0.250 0. 3 10 d 0.150 k 0.050 lga-16 ( 3 .5x 3 .0x1.0 mm) land grid array packa g e outline and 8 2 9 75 8 2_a mechanical data
revision history L3G3200D 44/45 doc id 022557 rev 1 9 revision history table 63. document revision history date revision changes 02-dec-11 1 initial release.
L3G3200D doc id 022557 rev 1 45/45 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by two authorized st representatives, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2011 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of L3G3200D

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X